package com.tudouji.project.noticeinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 通知记录对象 noticeinfo
 * 
 * @author tudouji
 * @date 2021-04-13
 */
@Data
public class Noticeinfo extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** $column.columnComment */
	private Long autoid;

	/** 主键 */
	@Excel(name = "主键")
	private String guid;

	/** 通知接收人id */
	@Excel(name = "通知接收人id")
	private String recieverId;
	private Long toUserId;
	/** 接收人名字 */
	@Excel(name = "接收人名字")
	private String reciever;

	/** 关联业务id */
	@Excel(name = "关联业务id")
	private String orderguid;

	/** 关联物业类型 1-销售单,2-调拨单,3-调整单,4-领料单,5-生产入库单,6-报废单 */
	@Excel(name = "关联物业类型 1-销售单,2-调拨单,3-调整单,4-领料单,5-生产入库单,6-报废单")
	private Integer ordertype;

	/** 通知标题（smsrule中的typename） */
	@Excel(name = "通知标题", readConverterExp = "s=msrule中的typename")
	private String noticetitle;

	/** 通知内容，备用 */
	@Excel(name = "通知内容，备用")
	private String noticecontent;
	private Long flowTaskId;
	/** 通知类型1-普通,2-派车 */
	@Excel(name = "通知类型1-普通,2-派车")
	private Integer noticetype;

	/** 订单状态 */
	@Excel(name = "订单状态")
	private Integer orderstatus;

	/** 通知状态:1-未读,2-已读,3-已处理 */
	@Excel(name = "通知状态:1-未读,2-已读,3-已处理")
	private Integer status;

	/** 阅读时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "阅读时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date readdate;

	/** 订单发起人id */
	@Excel(name = "订单发起人id")
	private String submitterid;

	/** 发起人名字 */
	@Excel(name = "发起人名字")
	private String submitter;

	/** 最后修改时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date lastupdate;

	/** 处理时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date handletime;

	/** 通知url */
	@Excel(name = "通知url")
	private String backurl;

	/** 订单编号 */
	@Excel(name = "订单编号")
	private String ordercode;

	/** 处理人id */
	@Excel(name = "处理人id")
	private String handleid;

	/** 处理人 */
	@Excel(name = "处理人")
	private String handler;

	/** 1-待处理，2-通知 */
	@Excel(name = "1-待处理，2-通知")
	private Integer flag;

	/** 办理时限(分钟) */
	@Excel(name = "办理时限(分钟)")
	private Integer timeLimit;

	/** 催办内容 */
	@Excel(name = "催办内容")
	private String reminderMsg;

	/** 督办人逗号分隔的loginname */
	@Excel(name = "督办人逗号分隔的loginname")
	private String supervisor;

	/** 督办消息发送规则(发送周期、发送次数) */
	@Excel(name = "督办消息发送规则(发送周期、发送次数)")
	private String remindRule;

	/** 督办次数 */
	@Excel(name = "督办次数")
	private Integer reminderTimes;

	/** 最后一次督办时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "最后一次督办时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date lastRemindTime;
	
	private Date Createtime;

	public void setAutoid(Long autoid) {
		this.autoid = autoid;
	}

	public Long getAutoid() {
		return autoid;
	}


	public void setReciever(String reciever) {
		this.reciever = reciever;
	}

	public String getReciever() {
		return reciever;
	}

	public void setOrderguid(String orderguid) {
		this.orderguid = orderguid;
	}

	public String getOrderguid() {
		return orderguid;
	}

	public void setOrdertype(Integer ordertype) {
		this.ordertype = ordertype;
	}

	public Integer getOrdertype() {
		return ordertype;
	}

	public void setNoticetitle(String noticetitle) {
		this.noticetitle = noticetitle;
	}

	public String getNoticetitle() {
		return noticetitle;
	}

	public void setNoticecontent(String noticecontent) {
		this.noticecontent = noticecontent;
	}

	public String getNoticecontent() {
		return noticecontent;
	}

	public void setNoticetype(Integer noticetype) {
		this.noticetype = noticetype;
	}

	public Integer getNoticetype() {
		return noticetype;
	}

	public void setOrderstatus(Integer orderstatus) {
		this.orderstatus = orderstatus;
	}

	public Integer getOrderstatus() {
		return orderstatus;
	}

	public void setReaddate(Date readdate) {
		this.readdate = readdate;
	}

	public Date getReaddate() {
		return readdate;
	}

	public void setSubmitterid(String submitterid) {
		this.submitterid = submitterid;
	}

	public String getSubmitterid() {
		return submitterid;
	}

	public void setSubmitter(String submitter) {
		this.submitter = submitter;
	}

	public String getSubmitter() {
		return submitter;
	}

	public void setLastupdate(Date lastupdate) {
		this.lastupdate = lastupdate;
	}

	public Date getLastupdate() {
		return lastupdate;
	}

	public void setHandletime(Date handletime) {
		this.handletime = handletime;
	}

	public Date getHandletime() {
		return handletime;
	}

	public void setBackurl(String backurl) {
		this.backurl = backurl;
	}

	public String getBackurl() {
		return backurl;
	}

	public void setOrdercode(String ordercode) {
		this.ordercode = ordercode;
	}

	public String getOrdercode() {
		return ordercode;
	}

	public void setHandleid(String handleid) {
		this.handleid = handleid;
	}

	public String getHandleid() {
		return handleid;
	}

	public void setHandler(String handler) {
		this.handler = handler;
	}

	public String getHandler() {
		return handler;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setTimeLimit(Integer timeLimit) {
		this.timeLimit = timeLimit;
	}

	public Integer getTimeLimit() {
		return timeLimit;
	}

	public void setReminderMsg(String reminderMsg) {
		this.reminderMsg = reminderMsg;
	}

	public String getReminderMsg() {
		return reminderMsg;
	}

	public void setSupervisor(String supervisor) {
		this.supervisor = supervisor;
	}

	public String getSupervisor() {
		return supervisor;
	}

	public void setRemindRule(String remindRule) {
		this.remindRule = remindRule;
	}

	public String getRemindRule() {
		return remindRule;
	}

	public void setReminderTimes(Integer reminderTimes) {
		this.reminderTimes = reminderTimes;
	}

	public Integer getReminderTimes() {
		return reminderTimes;
	}

	public void setLastRemindTime(Date lastRemindTime) {
		this.lastRemindTime = lastRemindTime;
	}

	public Date getLastRemindTime() {
		return lastRemindTime;
	}

	public Date getCreatetime() {
		return Createtime;
	}

	public void setCreatetime(Date createtime) {
		Createtime = createtime;
	}
	
}
